package com.market.plus.core.dao.jpa;

import com.market.plus.core.dao.GenericDao;
import com.market.plus.core.domain.Persistable;


public class JpaGenericDao<T extends Persistable> extends AbstractJpaDao<T> implements GenericDao<T> {


   public JpaGenericDao(final Class<T> persistentClass)
   {
      this.setClazz(persistentClass);
   }

   public T findById(final Long id)
   {
     return super.findById(id);
   }

   public void remove(final Long id)
   {
      super.remove(id);
   }

   public void save(final T object)
   {
      super.save(object);
   }

}
